package com.huawei.appgallery.search.ui;

import android.animation.Animator;
import android.animation.LayoutTransition;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.HeaderViewListAdapter;
import androidx.annotation.NonNull;
import com.huawei.appgallery.foundation.account.bean.UserSession;
import com.huawei.appgallery.foundation.service.common.protocol.request.AppListFragmentRequest;
import com.huawei.appgallery.foundation.ui.framework.cardframe.fragment.TaskFragment;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import com.huawei.appgallery.foundation.ui.framework.cardkit.widget.CardListAdapter;
import com.huawei.appgallery.foundation.ui.framework.fragment.AppListFragment;
import com.huawei.appgallery.foundation.ui.framework.widget.FooterView;
import com.huawei.appgallery.foundation.ui.framework.widget.NodataWarnLayout;
import com.huawei.appgallery.foundation.ui.framework.widget.PullUpListView;
import com.huawei.appgallery.search.ui.SearchResultFragmentProtocol.Request;
import com.huawei.appgallery.search.ui.card.SearchRecommendCard;
import com.huawei.appgallery.search.ui.cardbean.HotWordCardBean;
import com.huawei.appgallery.search.ui.cardbean.SearchCorrectCardBean;
import com.huawei.appgallery.search.ui.cardbean.SearchRecommendCardBean;
import com.huawei.appgallery.search.ui.widget.SearchCardListAdapter;
import com.huawei.appgallery.serverreqkit.api.bean.startup.StartupResponse.TabInfo;
import com.huawei.hms.support.api.entity.hwid.HwIDConstant.ACTION;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
import com.huawei.hwid.core.constants.HwAccountConstants;
import com.huawei.secure.android.common.intent.SafeBroadcastReceiver;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import o.azb;
import o.AccountBussinessListener;
import o.ccp;
import o.ccv;
import o.ccz;
import o.cdh;
import o.cfv;
import o.cha;
import o.chd;
import o.chm;
import o.chy;
import o.chz;
import o.cia;
import o.cih;
import o.cik;
import o.cil;
import o.cim.a;
import o.cix;
import o.cuv;
import o.cuv.c;
import o.cuv.f;
import o.cux;
import o.cva;
import o.cve;
import o.cvo;
import o.dgh;
import o.dgp;
import o.dky;
import o.dof;
import o.ContentManager;
import o.eod;
import o.eoj;
import o.CollectCheck;
import o.eqp;
import o.erz;
import o.esd;
import o.ActivityUtil;
import o.MinimumFactory;
import o.evk;
import o.evr;
import o.kk;
import o.ll;

public class SearchResultFragment extends AppListFragment<SearchResultFragmentProtocol> {
    private static final String ॱॱ = (ContentManager.getInstant().getContext().getPackageName() + ".broadcast.wish.WISH_LIST_CHANGE");
    private int ʳ;
    private String ʹ;
    private String ʻˊ;
    private String ʻˋ;
    private String ʼˋ;
    SearchRecommendCard ˊ;
    ViewGroup ᐝ;
    private int ꜝ = ccz.ॱ();
    private String ꜞॱ;
    private BroadcastReceiver ꜟॱ = new b();
    private long ꞌॱ;
    private SearchResultFragmentProtocol ﹳ;
    private View ﹳॱ;
    private int ﹺ;
    private String ﾞ;
    private com.huawei.appgallery.search.ui.widget.NormalSearchView.b ﾟ;
    private boolean ﾟॱ;

    static class b extends SafeBroadcastReceiver {
        private WeakReference<SearchResultFragment> ˊ;

        private b(SearchResultFragment searchResultFragment) {
            this.ˊ = new WeakReference(searchResultFragment);
        }

        public void onReceiveMsg(Context context, Intent intent) {
            if (context == null || intent == null || this.ˊ == null) {
                cux.ˏ.ˊ("SearchResultFragment", "onReceive, context = " + context + ", intent = " + intent + ", listFragmentRef = " + this.ˊ);
                return;
            }
            SearchResultFragment searchResultFragment = (SearchResultFragment) this.ˊ.get();
            if (searchResultFragment == null) {
                cux.ˏ.ˊ("SearchResultFragment", "onReceive, listFragment = null");
                return;
            }
            String action = intent.getAction();
            if (o.dvf.b.ॱ.equals(action) || ccv.ˋ().equals(action) || SearchResultFragment.ॱॱ.equals(action)) {
                ˎ(searchResultFragment);
            } else if ("cardlist_show_toast_action".equals(action)) {
                Object stringExtra = intent.getStringExtra("toast_tips");
                if (!TextUtils.isEmpty(stringExtra) && searchResultFragment.ᵔ && searchResultFragment.ᐨॱ) {
                    evk.ˏ();
                    evk.ॱ(stringExtra, 0).ˋ();
                    return;
                }
                cux.ˏ.ˋ("SearchResultFragment", "onReceive, tips: " + stringExtra + ", tabName = " + searchResultFragment.ʿॱ + ", isSelected = " + searchResultFragment.ᵔ + ", isOnResumed = " + searchResultFragment.ᐨॱ);
            }
        }

        private void ˎ(@NonNull SearchResultFragment searchResultFragment) {
            PullUpListView ˋॱ = searchResultFragment.ͺˎ;
            if (ˋॱ != null) {
                CardListAdapter cardListAdapter;
                if (ˋॱ.getAdapter() instanceof HeaderViewListAdapter) {
                    cardListAdapter = (CardListAdapter) ((HeaderViewListAdapter) ˋॱ.getAdapter()).getWrappedAdapter();
                } else {
                    cardListAdapter = (CardListAdapter) ˋॱ.getAdapter();
                }
                if (cardListAdapter != null) {
                    cardListAdapter.notifyDataSetChanged();
                    return;
                }
                return;
            }
            cux.ˏ.ˊ("SearchResultFragment", "onReceive, listView = null");
        }
    }

    static {
        esd.ˋ(cva.class);
    }

    public void ˏ(Bundle bundle) {
        super.ˏ(bundle);
        if (ᐝॱ() != null) {
            this.ʳ = ᐝॱ().getConfiguration().orientation;
        }
    }

    public CardBean ˊʻ() {
        if (this.י == null) {
            return null;
        }
        List<chz> ʻॱ = this.י.ʻॱ();
        if (CollectCheck.isEmpty((List) ʻॱ)) {
            return null;
        }
        for (chz o_chz : ʻॱ) {
            if (!(o_chz == null || !"qrecommendcard".equals(o_chz.ˏॱ()) || CollectCheck.isEmpty(o_chz.ˏ()))) {
                CardBean cardBean = (CardBean) o_chz.ˏ().get(0);
                if (cardBean instanceof SearchRecommendCardBean) {
                    SearchRecommendCardBean searchRecommendCardBean = (SearchRecommendCardBean) cardBean;
                    if (TextUtils.isEmpty(searchRecommendCardBean.ॱ()) || CollectCheck.isEmpty(searchRecommendCardBean.ʽ())) {
                        return null;
                    }
                    searchRecommendCardBean.ˋˋ(String.valueOf(o_chz.ˏ));
                    return searchRecommendCardBean;
                }
            }
        }
        return null;
    }

    public void ᐝʼ() {
        super.ᐝʼ();
        י();
    }

    private void י() {
        this.ﹳ = (SearchResultFragmentProtocol) ˆ();
        Request request = (Request) this.ﹳ.ॱ();
        this.ʹ = request.ˍ();
        this.ﾞ = request.ˌ();
        this.ʻˋ = request.ˎˎ();
        this.ʻˊ = request.ˋᐝ();
        this.ʼˋ = request.ˑ();
        this.ꜞॱ = request.ˏ();
        this.ﹺ = request.ˎˏ();
        this.ﾟॱ = request.ͺॱ();
        this.ʼˊ = ˊ(request);
    }

    private String ˊ(Request request) {
        String ˊ = request.ˊ();
        if (TextUtils.isEmpty(request.ˑ()) && !TextUtils.isEmpty(ˊ)) {
            return ˊ;
        }
        if (TextUtils.isEmpty(request.ˌ())) {
            if (this.ﾟॱ) {
                return "searchPost|" + request.ˍ();
            }
            return "searchApp|" + request.ˍ();
        } else if (this.ﾟॱ) {
            return "searchPost|" + request.ˌ();
        } else {
            return "searchApp|" + request.ˌ();
        }
    }

    public void ॱ(NodataWarnLayout nodataWarnLayout) {
        if (nodataWarnLayout != null) {
            nodataWarnLayout.setWarnImage(c.ˊ);
            nodataWarnLayout.setWarnTextOne(f.ʾ);
            nodataWarnLayout.setViewVisible(e.WARN_TEXTTWO, 8);
            nodataWarnLayout.setViewVisible(e.TITLE_DESC, 0);
            nodataWarnLayout.setViewVisible(e.CONTENT_DESCONE, 0);
            nodataWarnLayout.setViewVisible(e.CONTENT_DESCTWO, 0);
            nodataWarnLayout.setViewVisible(e.CONTENT_DESCTHREE, 0);
            nodataWarnLayout.setViewVisible(e.WARN_BTN, 8);
            nodataWarnLayout.setTitleDesc(ॱˋ().getString(f.ʼॱ));
            nodataWarnLayout.setContentDescOne(ॱˋ().getString(f.ॱˎ, new Object[]{Integer.valueOf(1)}));
            nodataWarnLayout.setContentDescTwo(ॱˋ().getString(f.ᐝॱ, new Object[]{Integer.valueOf(2)}));
            nodataWarnLayout.setContentDescThree(ॱˋ().getString(f.ॱˋ, new Object[]{Integer.valueOf(3)}));
        }
    }

    public cha ॱʿ() {
        AppListFragmentRequest request = new Request();
        request.ॱˊ(this.ʹ);
        request.ˋॱ(this.ﾞ);
        request.ॱˋ(this.ʻˊ);
        request.ᐝॱ(this.ʻˋ);
        return new cve(ॱˋ(), ʽॱ(), this.ᐝʽ, request);
    }

    public View ˋ(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        View ˋ = super.ˋ(layoutInflater, viewGroup, bundle);
        ˏॱ(true);
        this.ᐝ = (ViewGroup) ˋ.findViewById(ᵢ());
        ˋ(this.ᐝ);
        if (this.ᐝ != null) {
            this.ﹳॱ = layoutInflater.inflate(cuv.e.ॱ, null);
            if (this.ﹳॱ != null) {
                if (MinimumFactory.getBoolValue(ContentManager.getInstant().getContext())) {
                    this.ﹳॱ.setPadding(this.ﹳॱ.getPaddingEnd(), this.ﹳॱ.getPaddingTop(), azb.ˊ(ॱˋ()), this.ﹳॱ.getPaddingBottom());
                } else {
                    this.ﹳॱ.setPadding(azb.ˊ(ॱˋ()), this.ﹳॱ.getPaddingTop(), this.ﹳॱ.getPaddingEnd(), this.ﹳॱ.getPaddingBottom());
                }
                ߺ();
            }
        }
        this.ꜝ = cdh.ˎ(ॱˋ());
        return ˋ;
    }

    public List<dgp> ˏ(List<TabInfo> list, String str) {
        if (CollectCheck.isEmpty((List) list) || list.size() <= 1) {
            return new ArrayList();
        }
        List<dgp> arrayList = new ArrayList();
        for (int i = 0; i < list.size(); i++) {
            TabInfo tabInfo = (TabInfo) list.get(i);
            if (ˋ(tabInfo)) {
                dgp o_dgp = new dgp();
                if (i == 0 && this.ʼˊ.startsWith("searchApp")) {
                    tabInfo.ˋ("searchApp|");
                }
                if (TextUtils.isEmpty(this.ﾞ)) {
                    o_dgp.ˋ(tabInfo.ʼ() + this.ʹ);
                } else {
                    o_dgp.ˋ(tabInfo.ʼ() + this.ﾞ);
                }
                o_dgp.ॱ(tabInfo.ʼ().hashCode() + i);
                o_dgp.ˊ(tabInfo.ʽ());
                o_dgp.ˎ(tabInfo.ᐝ());
                o_dgp.ˊ(tabInfo.ʻ());
                o_dgp.ॱ(tabInfo.ͺ());
                o_dgp.ˎ(tabInfo.ॱˊ());
                o_dgp.ˏ(tabInfo.ॱॱ());
                o_dgp.ᐝ(str);
                arrayList.add(o_dgp);
            }
        }
        return arrayList.size() <= 1 ? new ArrayList() : arrayList;
    }

    private boolean ˋ(TabInfo tabInfo) {
        if (tabInfo == null || TextUtils.isEmpty(tabInfo.ʼ()) || TextUtils.isEmpty(tabInfo.ᐝ())) {
            String str;
            cux o_cux = cux.ˏ;
            String str2 = "SearchResultFragment";
            StringBuilder append = new StringBuilder().append("tabInfo = ");
            if (tabInfo == null) {
                str = HwAccountConstants.NULL;
            } else {
                str = "tabId is empty";
            }
            o_cux.ˊ(str2, append.append(str).toString());
            return false;
        }
        boolean isUserMinor = UserSession.getInstance().isUserMinor();
        cux.ˏ.ˎ("SearchResultFragment", "user isMinor = " + isUserMinor);
        if (!isUserMinor || !tabInfo.ʼ().startsWith("searchWish")) {
            return true;
        }
        cux.ˏ.ˋ("SearchResultFragment", "user is minor, wish wall should not be shown");
        return false;
    }

    public String ˏ(List<dgp> list) {
        return this.ʼˊ;
    }

    public void ˋ(int i) {
        super.ˋ(i);
        if (dof.ॱ(this.ʿॱ) && ˆ() != null) {
            Request request = (Request) ((SearchResultFragmentProtocol) ˆ()).ॱ();
            if (request != null) {
                this.ʿॱ = request.ʻ();
                this.ʼˊ = request.ˊ();
            }
        }
        cvo.ˎ(this.ʼˊ, this.ʿॱ, this.ꜝ);
    }

    public cfv ˏ(String str, String str2, int i) {
        this.ꞌॱ = System.currentTimeMillis();
        cfv ˎ = cfv.ˎ(str, this.ꜞॱ, cdh.ˎ(ॱˋ()), i);
        ˎ.setCacheID(ˎ.getCacheID());
        String str3 = "";
        if (erz.ˏ(ॱˋ(), "com.huawei.hwireader")) {
            str3 = "com.huawei.hwireader";
        }
        if (erz.ˏ(ॱˋ(), "com.huawei.hnreader")) {
            if (dof.ॱ(ˎ.ॱ())) {
                str3 = ˎ.ॱ() + "com.huawei.hnreader";
            } else {
                str3 = ˎ.ॱ() + HiAnalyticsConstant.REPORT_VAL_SEPARATOR + "com.huawei.hnreader";
            }
        }
        ˎ.ᐝ(str3);
        ˎ.ˋ(this.ʻˋ);
        if (!TextUtils.isEmpty(this.ʻˊ)) {
            ˎ.ˎ(this.ʻˊ);
        }
        if (!TextUtils.isEmpty(this.ʼˋ)) {
            ˎ.ˊ(this.ʼˋ);
        }
        if (this.ﾟॱ) {
            ˎ.ॱ(this.ﹺ);
        }
        return ˎ;
    }

    public boolean ˊ(TaskFragment taskFragment, com.huawei.appgallery.foundation.ui.framework.cardframe.fragment.TaskFragment.b bVar) {
        cva.ˊ(String.valueOf(System.currentTimeMillis() - this.ꞌॱ));
        boolean ˊ = super.ˊ(taskFragment, bVar);
        if (((chd) bVar.ˊ).ˏ() != 1) {
            return ˊ;
        }
        ߺ();
        return ˊ;
    }

    private void ߺ() {
        CardBean ˊʻ = ˊʻ();
        if (ˊʻ != null) {
            this.ᐝ.addView(this.ﹳॱ);
            this.ˊ = new SearchRecommendCard(ॱˋ());
            this.ˊ.ˏ(this.ﹳॱ);
            this.ˊ.ˋ((chy) this);
            this.ﹳॱ.setVisibility(0);
            this.ᐝ.setVisibility(0);
            this.ˊ.ˏ(ˊʻ);
            this.ˊ.ॱ(cdh.ˎ(ॱˋ()));
            ((FooterView) this.ͺˎ.ˊॱ()).setFootViewListener(new cix(this) {
                final /* synthetic */ SearchResultFragment ˊ;

                {
                    this.ˊ = r1;
                }

                public void ॱʾ() {
                    ((FooterView) this.ˊ.ͺˎ.ˊॱ()).setBlankHeight(this.ˊ.ﹳॱ.getMeasuredHeight());
                    this.ˊ.ͺˎ.ͺ();
                }

                public void ॱـ() {
                    ((FooterView) this.ˊ.ͺˎ.ˊॱ()).setBlankHeight(this.ˊ.ﹳॱ.getMeasuredHeight());
                    this.ˊ.ͺˎ.ͺ();
                }
            });
            return;
        }
        this.ﹳॱ.setVisibility(8);
    }

    public void onConfigurationChanged(Configuration configuration) {
        super.onConfigurationChanged(configuration);
        chm.ॱ().ˋ();
        if (ʼʻ() && this.ʳ != configuration.orientation) {
            this.ʳ = configuration.orientation;
            evr.ˊ().ᐝ();
            evr.ˊ().ˋ(this.ͺˎ);
        }
    }

    public CardListAdapter ˎ(Context context, cia o_cia) {
        return new SearchCardListAdapter(context, o_cia);
    }

    public void ˏ(int i, cih o_cih) {
        if (this.ﾟ == null) {
            cux.ˏ.ˏ("SearchResultFragment", "click listener is null.");
        } else if (i == 7) {
            ˎ(o_cih.ˌ());
        } else if (i == 8 || i == 10) {
            if (UserSession.getInstance().isLoginSuccessful()) {
                ˊ(i, this.ʹ);
            } else {
                ˎ(i, this.ʹ);
            }
        } else if (i == 12) {
            ˏ(i, this.ʹ);
        } else if (i != 200) {
            super.ˏ(i, o_cih);
        } else if (o_cih.ˌ() instanceof HotWordCardBean) {
            ((HotWordCardBean) o_cih.ˌ()).ˊ(String.valueOf(this.ꜝ), this.ʼˊ);
        }
    }

    private void ˎ(CardBean cardBean) {
        String str = "";
        if (cardBean instanceof HotWordCardBean) {
            HotWordCardBean hotWordCardBean = (HotWordCardBean) cardBean;
            String ꜟ = hotWordCardBean.ꜟ();
            if (this.ʼˊ == null || !this.ʼˊ.startsWith("searchContent")) {
                this.ﾟ.ॱ(hotWordCardBean.ʽ(), hotWordCardBean.ꜟ(), false, false);
            } else {
                this.ﾟ.ˏ(hotWordCardBean.ʽ(), hotWordCardBean.ꜟ(), false, false, "searchContent");
            }
            str = ꜟ;
        } else if (cardBean instanceof SearchCorrectCardBean) {
            SearchCorrectCardBean searchCorrectCardBean = (SearchCorrectCardBean) cardBean;
            r1 = searchCorrectCardBean.ॱॱ();
            cvo.ॱ("250601", searchCorrectCardBean.ˊ(), searchCorrectCardBean.ॱ(), this.ʹ, (Activity) ॱˊ());
            this.ﾟ.ॱ(searchCorrectCardBean.ˊ(), searchCorrectCardBean.ॱॱ(), false, true);
            str = r1;
        } else if (cardBean instanceof SearchRecommendCardBean) {
            SearchRecommendCardBean searchRecommendCardBean = (SearchRecommendCardBean) cardBean;
            r1 = searchRecommendCardBean.ᶥ();
            cvo.ॱ("250501", searchRecommendCardBean.ꓸ(), searchRecommendCardBean.ˊ(), this.ʹ, (Activity) ॱˊ());
            this.ﾟ.ॱ(searchRecommendCardBean.ꓸ(), searchRecommendCardBean.ᶥ(), false, true);
            str = r1;
        }
        ˊ(str);
    }

    private void ˊ(String str) {
        cil.ˋ(ॱˊ(), new a().ˊ(str).ˋ());
    }

    private void ˎ(final int i, final String str) {
        eoj.ˋ().ˎ("SearchResultFragment", new AccountBussinessListener(this) {
            final /* synthetic */ SearchResultFragment ˏ;

            public void onAccountBusinessResult(ccp o_ccp) {
                if (102 == o_ccp.ˎ) {
                    new Handler(Looper.getMainLooper()).post(new Runnable(this) {
                        final /* synthetic */ AnonymousClass4 ॱ;

                        {
                            this.ॱ = r1;
                        }

                        public void run() {
                            this.ॱ.ˏ.ˊ(i, str);
                            eoj.ˋ().ˊ("SearchResultFragment");
                        }
                    });
                }
            }
        });
        eod.ॱ(ॱˋ());
    }

    private void ˊ(int i, String str) {
        cik.ˋ(ॱˋ(), str, i);
    }

    private void ˏ(int i, String str) {
        if (i == 12) {
            String ॱ;
            ˎ(str);
            cux.ˏ.ˋ("SearchResultFragment", "gotoWeb, keyword: " + str);
            if (eqp.ᐝ()) {
                ॱ = ॱ(f.ͺ);
            } else {
                ॱ = ॱ(f.ॱˊ);
            }
            ॱ = ॱ + str;
            try {
                Intent intent = new Intent(ACTION.HWID_SCHEME_URL);
                intent.setData(Uri.parse(ॱ));
                ˎ(intent);
            } catch (Exception e) {
                cux.ˏ.ˋ("SearchResultFragment", "jump failed!");
                evk.ˋ(ContentManager.getInstant().getContext(), ॱ(f.ʻॱ), 0).ˋ();
            }
        }
    }

    private void ˎ(String str) {
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        linkedHashMap.put("keyword", str);
        dgh.ˋ("250802", linkedHashMap);
    }

    public void ॱ(Activity activity) {
        super.ॱ(activity);
        if (activity instanceof com.huawei.appgallery.search.ui.widget.NormalSearchView.b) {
            this.ﾟ = (com.huawei.appgallery.search.ui.widget.NormalSearchView.b) activity;
        }
    }

    public void ˎ() {
        super.ˎ();
        this.ﾟ = null;
    }

    public void ˎˎ() {
        super.ˎˎ();
        eoj.ˋ().ˊ("SearchResultFragment");
    }

    public void onScroll(AbsListView absListView, int i, int i2, int i3) {
        super.onScroll(absListView, i, i2, i3);
        if (this.ﹳॱ != null && this.ᐝ != null) {
            int i4 = (i + i2) - 1;
            int visibility = this.ﹳॱ.getVisibility();
            if (i4 >= 20) {
                if (visibility != 8) {
                    this.ﹳॱ.setVisibility(8);
                }
            } else if (visibility != 0) {
                this.ﹳॱ.setVisibility(0);
                if (this.ᐝ.getMeasuredHeight() <= 0) {
                    this.ᐝ.measure(0, 0);
                    this.ᐝ.forceLayout();
                }
                if (this.ˊ != null) {
                    this.ˊ.ॱ(cdh.ˎ(ॱˋ()));
                }
            }
        }
    }

    public void ˌॱ() {
        super.ˌॱ();
        IntentFilter intentFilter = new IntentFilter(o.dvf.b.ॱ);
        intentFilter.addAction("cardlist_show_toast_action");
        intentFilter.addAction(ccv.ˋ());
        intentFilter.addAction(ॱॱ);
        ActivityUtil.registerReceiver(ॱˋ(), intentFilter, this.ꜟॱ);
        ll.ˏ(ContentManager.getInstant().getContext()).ˏ(this.ꜟॱ, intentFilter);
    }

    public void ˋʼ() {
        super.ˋʼ();
        ActivityUtil.unregisterReceiver(ॱˋ(), this.ꜟॱ);
        ll.ˏ(ContentManager.getInstant().getContext()).ˋ(this.ꜟॱ);
    }

    public void ˋ(ViewGroup viewGroup) {
        if (viewGroup != null) {
            Animator ofFloat = ObjectAnimator.ofFloat(null, "translationY", new float[]{(float) ᐝॱ().getDimensionPixelSize(dky.c.ˊ), 0.0f});
            ofFloat.setDuration(250);
            ofFloat.setInterpolator(new kk());
            Animator ofFloat2 = ObjectAnimator.ofFloat(null, "translationY", new float[]{0.0f, (float) ᐝॱ().getDimensionPixelSize(dky.c.ˊ)});
            ofFloat2.setDuration(250);
            ofFloat2.setInterpolator(new kk());
            LayoutTransition layoutTransition = new LayoutTransition();
            layoutTransition.setAnimator(2, ofFloat);
            layoutTransition.setAnimator(3, ofFloat2);
            viewGroup.setLayoutTransition(layoutTransition);
        }
    }
}
